package com.zjq.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.zjq.smartdevice.dto.UserDto;
import com.zjq.smartdevice.pojo.SysUserInfo;

/**
 * @User zhangjiaqi
 * @Project smartdeviceplatgorm
 * @Package com.zjq.smartdevice.service
 * @Date 2022/3/14 19:19
 */
public interface SysUserInfoService {

    SysUserInfo login(UserDto userDto);

    SysUserInfo findById(Long userid);

    PageInfo<SysUserInfo> findAll(int pageSize, int pageNum);

    void addUser(SysUserInfo sysUserInfo);


}
